﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Macds.Test.Core.ServiceLocator.Mocks
{
    public class CustomerService : ICustomerService
    {
        public int GetCustomerID(string username) 
        {
            var dependency = new DependencyFactory();
            ICustomerRepository repository = dependency.CreateService<ICustomerRepository>("CustomerRepository");

            return repository.GetCustomerID(username); 
        }
    }
}
